package com.dating.libs.web.services.datingservice;


import java.util.Hashtable;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;

public final class Properties extends SoapObject {
    private java.lang.String name;

    private int properWeight;

    private java.lang.String value;

    public Properties() {
        super("", "");
    }
    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getName(java.lang.String name) {
        return this.name;
    }

    public void setProperWeight(int properWeight) {
        this.properWeight = properWeight;
    }

    public int getProperWeight(int properWeight) {
        return this.properWeight;
    }

    public void setValue(java.lang.String value) {
        this.value = value;
    }

    public java.lang.String getValue(java.lang.String value) {
        return this.value;
    }

    public int getPropertyCount() {
        return 3;
    }

    public Object getProperty(int __index) {
        switch(__index)  {
        case 0: return name;
        case 1: return new Integer(properWeight);
        case 2: return value;
        }
        return null;
    }

    public void setProperty(int __index, Object __obj) {
        switch(__index)  {
        case 0: name = (java.lang.String) __obj; break;
        case 1: properWeight = Integer.parseInt(__obj.toString()); break;
        case 2: value = (java.lang.String) __obj; break;
        }
    }

    @SuppressWarnings("unchecked")
	public void getPropertyInfo(int __index, Hashtable __table, PropertyInfo __info) {
        switch(__index)  {
        case 0:
            __info.name = "name";
            __info.type = java.lang.String.class; break;
        case 1:
            __info.name = "properWeight";
            __info.type = Integer.class; break;
        case 2:
            __info.name = "value";
            __info.type = java.lang.String.class; break;
        }
    }

}
